Removed raw references to __sun__, __FreeBSD__, __GLIBC__ and __linux__; now just check to see if they are defined. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177310 91177308-0d34-0410-b5e6-96231b3b80d8 
diff --git a/include/locale b/include/locale index 0d8fba0..662b980 100644 --- a/include/locale +++ b/include/locale 
@@ -204,7 +204,7 @@    _LIBCPP_BEGIN_NAMESPACE_STD   -#if defined(__APPLE__) || __FreeBSD__ +#if defined(__APPLE__) || defined(__FreeBSD__)  # define _LIBCPP_GET_C_LOCALE 0  #else  # define _LIBCPP_GET_C_LOCALE __cloc()